//
//  FirstDetailView.swift
//  SwiftUI_App
//
//  Created by qingzhou on 2021/6/3.
//

import SwiftUI

struct FirstDetailView: View {
    
    @EnvironmentObject var stateManger: StateManager
    
    var body: some View {
        EmojiListView(selectedEmoji: $stateManger.selectedItem)
    }
}

struct FirstDetailView_Previews: PreviewProvider {
    static var previews: some View {
        NavigationView {
            FirstTabView()
                .environmentObject(StateManager())
        }
    }
}
